package com.nuoniu.sibanyun.entity.erp.barcode;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 条码管理-条码打印-原数据
 * </p>
 *
 * @author 白强
 * @since 2021-11-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bc_barcode_print_source")
@ApiModel(value="ErpBarcodePrintSource对象", description="条码管理-条码打印-原数据")
public class ErpBarcodePrintSource extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "账套id")
    @TableField("account_id")
    private Integer accountId;

    @ApiModelProperty(value = "公司id")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "条码打印ID")
    @TableField("barcode_print_id")
    private Integer barcodePrintId;

    @ApiModelProperty(value = "物料ID")
    @TableField("inventory_id")
    private Integer inventoryId;

    @ApiModelProperty(value = "物料名称")
    @TableField("inventory_name")
    private String inventoryName;

    @ApiModelProperty(value = "物料编码")
    @TableField("inventory_code")
    private String inventoryCode;

    @ApiModelProperty(value = "规格")
    @TableField("inventory_specification")
    private String inventorySpecification;

    @ApiModelProperty(value = "数量")
    @TableField("quantity")
    private BigDecimal quantity;

    @ApiModelProperty(value = "预计打印数量")
    @TableField("expected_print_quantity")
    private Integer expectedPrintQuantity;

    @ApiModelProperty(value = "最小打包数量")
    @TableField("min_package_quantity")
    private BigDecimal minPackageQuantity;

    @ApiModelProperty(value = "状态")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_date")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "创建人id")
    @TableField("create_user_id")
    private Integer createUserId;

    @ApiModelProperty(value = "创建人名称")
    @TableField("create_user_name")
    private String createUserName;

    @ApiModelProperty(value = "修改人")
    @TableField("update_user_id")
    private Integer updateUserId;

    @ApiModelProperty(value = "修改人姓名")
    @TableField("update_user_name")
    private String updateUserName;

    @ApiModelProperty(value = "修改时间")
    @TableField("update_date")
    private LocalDateTime updateDate;

    @ApiModelProperty(value = "来源单id")
    @TableField("source_voucher_id")
    private Integer sourceVoucherId;

    @ApiModelProperty(value = "来源单号")
    @TableField("source_voucher_code")
    private String sourceVoucherCode;

    @ApiModelProperty(value = "来源单据")
    @TableField("source_voucher_type")
    private String sourceVoucherType;

    @ApiModelProperty(value = "来源单据日期")
    @TableField("source_voucher_date")
    private LocalDate sourceVoucherDate;

    @ApiModelProperty(value = "来源明细ID")
    @TableField("source_detail_id")
    private Integer sourceDetailId;

    @ApiModelProperty(value = "编号")
    @TableField("no")
    private String no;

    @ApiModelProperty(value = "长")
    @TableField("length")
    private BigDecimal length;

    @ApiModelProperty(value = "宽")
    @TableField("width")
    private BigDecimal width;

    @ApiModelProperty(value = "单个面积()")
    @TableField("unit_area")
    private BigDecimal unitArea;

    @ApiModelProperty(value = "合计面积")
    @TableField("total_area")
    private BigDecimal totalArea;

    @ApiModelProperty(value = "颜色名称")
    @TableField("color_name")
    private String colorName;


}
